package com.xpec.c4.db.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.xpec.c4.db.model.basic.BasicGameModel;

@Entity
@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@Table(name = "player_keeplog")
public class PlayerKeepSeatLogModel  extends BasicGameModel 
{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5252420805308301643L;

	public static final String ADD = "add";
	
	public static final String  REMOVE = "remove";
	
	public static final String TIMEOUT = "timeout";
	
	/**新增、修改**/
	private String stat;

	/**player guid**/
	private String guid;
	
	/**game name**/
	private String gamename;
	
	/**館別名**/
	private String halltype;
	
	/**超時時間**/
	private long timeout;
	
	/**機台唯一碼**/
	private String seatid;
	
	/**機台編號 **/
	private int machineid;
	
	/**是否為離線保留**/
	private boolean isofflinekeep;
	
	/**機台狀態**/
	private int machinestat;
	
	/**創建時間**/
	private long createtime;

	public int getMachinestat() {
		return machinestat;
	}

	public void setMachinestat(int machinestat) {
		this.machinestat = machinestat;
	}
	
	public String getStat() {
		return stat;
	}

	public void setStat(String stat) {
		this.stat = stat;
	}
	
	public boolean isIsofflinekeep() {
		return isofflinekeep;
	}

	public void setIsofflinekeep(boolean isofflinekeep) {
		this.isofflinekeep = isofflinekeep;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getGamename() {
		return gamename;
	}

	public void setGamename(String gamename) {
		this.gamename = gamename;
	}

	public String getHalltype() {
		return halltype;
	}

	public void setHalltype(String halltype) {
		this.halltype = halltype;
	}

	public long getTimeout() {
		return timeout;
	}

	public void setTimeout(long timeout) {
		this.timeout = timeout;
	}

	public String getSeatid() {
		return seatid;
	}

	public void setSeatid(String seatid) {
		this.seatid = seatid;
	}

	public int getMachineid() {
		return machineid;
	}

	public void setMachineid(int machineid) {
		this.machineid = machineid;
	}

	public long getCreatetime() {
		return createtime;
	}

	public void setCreatetime(long createtime) {
		this.createtime = createtime;
	}
	
}
